home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-01-05 | 1.2 KB | 41 lines | [TEXT/GEOL] |
- Item 9527474 3-Jan-90 08:46
-
- From: MOOF Rollin, Keith A
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: RE>TTextEdit wrap (revisi
-
- Attn: Power Up,PRT
- SentBy: Keith Rollin
- Date 1/3/90
- Subject RE>TTextEdit wrap (revisite
- From Keith Rollin
- To Power Up,PRT
-
- Reply to: RE>TTextEdit wrap (revisited
- James,
-
- Sorry for losing track of the subject here:
-
- > How can one make the text wrap properly at the edges of the TTextEdit
- control?
-
- There are two things you can do:
-
- The first is to override TDialogTEView so that it does the wrapping (look at
- TDialogTEView.RecalText). You will also have to override
- TDialogView.MakeTEView so that it instantiates your override class. Finally,
- you will have to make sure you also call TTEView.ChangeAutoWrap(TRUE) on your
- TDialogTEView so that you will actually wrap.
-
- The other way to do this is to just put a TTEView into you TDialogView. If you
- want TABing to inlcude your TTEView, you will have to override
- TDialogView.Tab.
-
- I hope this is enough to get you started. If not, give me a holler!
-
- - Keith Rollin
- - Apple Developer Technical Support
-
-